/**
 * 2019年3月13日 上午9:26:19  
 * richest-api  
 * @author zhaohongchao
 * @version 1.0
 * IEatOrderService.java  
 */
package com.richest.api.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.richest.bean.EatOrderBean;
import com.richest.util.CallResults;

/**
 * 2019年3月13日 上午9:26:19 richest-api
 * 
 * @author zhaohongchao
 * @version 1.0 IEatOrderService.java
 */
public interface IEatOrderService {
	List<Map<String, Object>> selectEatOrderList(Integer status, String userId);

	void insert(EatOrderBean eatOrderBean);

	EatOrderBean queryByEatSerialNumber(String eatSerialNumber, Integer status);

	void update(EatOrderBean eatOrderBean);

	CallResults getEatOrderBySerialNumber(String eatSerialNumber);

	String SettlementOrder(JSONObject params);

	void appapplyRefundOrder(String eatSerialNumber, Integer orderStatus, String reason, String userId, Integer status, String status_name,
			String status_desc);

	EatOrderBean selectEatOrderByUser(Long lUserId);
}
